import Layout from '@/page/index/index.vue'
import { defineAsyncComponent } from 'vue'

export default [
  {
    path: '/admin',
    component: Layout,
    children:[
      {
        path: '/admin/user',
        name: '用户管理',
        component: defineAsyncComponent( () => import('@/views/admin/user/index.vue') )
      }
    ]
  },
  {
    path: '/base',
    component: Layout,
    children:[
      {
        path: '/base/freedback',
        name: '反馈管理',
        component: defineAsyncComponent( () => import('@/views/base/freedback/index.vue') )
      }
    ]
  }
]